#编译配置
TEMPLATE = app
CONFIG += c++11
DESTDIR = $$PWD/../target/
CONFIG(debug, debug|release){
    TARGET = AdPlayerGst_X86
} else {
    TARGET = AdPlayerGstD_X86
}
contains(QT_ARCH, arm64){
    CONFIG(debug, debug|release){
        TARGET = AdPlayerGst_Arm
    } else {
        TARGET = AdPlayerGstD_Arm
    }
}
QMAKE_CXXFLAGS+= -Wno-unused-parameter
QMAKE_CXXFLAGS+= -Wno-reorder

#依赖配置
QT += core network widgets gui
CONFIG += link_pkgconfig
PKGCONFIG = gstreamer-1.0
LIBS += `pkg-config --cflags --libs gstreamer-1.0  gstreamer-pbutils-1.0`

HEADERS += \
    log/logger.h \
    log/logmanager.h \
    log/logworker.h \
    log/recorder.h \
    video/videodiscover.h \
    video/videoplayer.h \
    test/testwidget.h \
    log/utils.h

SOURCES += \
    log/logger.cpp \
    log/logmanager.cpp \
    log/logworker.cpp \
    log/recorder.cpp \
    video/videodiscover.cpp \
    video/videoplayer.cpp \
    test/testwidget.cpp \
    log/utils.cpp \
    main.cpp

FORMS += \
    test/testwidget.ui


